/// code : 0
/// data : [{"photoFileID":"20100817225950332250201211","photoUrl":"https://com-shuibei-peach-doctor-cs.100cbc.com/certify/20092511305196863540531211/20100817225950332250201211.jpg","modifyUser":"","certifyName":"身份证正面","certifyNo":"","addTime":"2020-10-08 17:22:04","doctorID":"20092511305196863540531211","validDate":"1900-01-01","addUser":"20092511305196863540531211","certifyCode":"ID-FRONT","keyID":"20100817225994779180539211","regDate":"1900-01-01"}]
/// message : "成功"

class DoctorCertifyEntity {
  int _code;
  List<Data> _data;
  String _message;

  int get code => _code;
  List<Data> get data => _data;
  String get message => _message;

  DoctorCertifyEntity({
      int code, 
      List<Data> data, 
      String message}){
    _code = code;
    _data = data;
    _message = message;
}

  DoctorCertifyEntity.fromJson(dynamic json) {
    _code = json["code"];
    if (json["data"] != null) {
      _data = [];
      json["data"].forEach((v) {
        _data.add(Data.fromJson(v));
      });
    }
    _message = json["message"];
  }

  Map<String, dynamic> toJson() {
    var map = <String, dynamic>{};
    map["code"] = _code;
    if (_data != null) {
      map["data"] = _data.map((v) => v.toJson()).toList();
    }
    map["message"] = _message;
    return map;
  }

}

/// photoFileID : "20100817225950332250201211"
/// photoUrl : "https://com-shuibei-peach-doctor-cs.100cbc.com/certify/20092511305196863540531211/20100817225950332250201211.jpg"
/// modifyUser : ""
/// certifyName : "身份证正面"
/// certifyNo : ""
/// addTime : "2020-10-08 17:22:04"
/// doctorID : "20092511305196863540531211"
/// validDate : "1900-01-01"
/// addUser : "20092511305196863540531211"
/// certifyCode : "ID-FRONT"
/// keyID : "20100817225994779180539211"
/// regDate : "1900-01-01"

class Data {
  String _photoFileID;
  String _photoUrl;
  String _modifyUser;
  String _certifyName;
  String _certifyNo;
  String _addTime;
  String _doctorID;
  String _validDate;
  String _addUser;
  String _certifyCode;
  String _keyID;
  String _regDate;

  String get photoFileID => _photoFileID;
  String get photoUrl => _photoUrl;
  String get modifyUser => _modifyUser;
  String get certifyName => _certifyName;
  String get certifyNo => _certifyNo;
  String get addTime => _addTime;
  String get doctorID => _doctorID;
  String get validDate => _validDate;
  String get addUser => _addUser;
  String get certifyCode => _certifyCode;
  String get keyID => _keyID;
  String get regDate => _regDate;

  Data({
      String photoFileID, 
      String photoUrl, 
      String modifyUser, 
      String certifyName, 
      String certifyNo, 
      String addTime, 
      String doctorID, 
      String validDate, 
      String addUser, 
      String certifyCode, 
      String keyID, 
      String regDate}){
    _photoFileID = photoFileID;
    _photoUrl = photoUrl;
    _modifyUser = modifyUser;
    _certifyName = certifyName;
    _certifyNo = certifyNo;
    _addTime = addTime;
    _doctorID = doctorID;
    _validDate = validDate;
    _addUser = addUser;
    _certifyCode = certifyCode;
    _keyID = keyID;
    _regDate = regDate;
}

  Data.fromJson(dynamic json) {
    _photoFileID = json["photoFileID"];
    _photoUrl = json["photoUrl"];
    _modifyUser = json["modifyUser"];
    _certifyName = json["certifyName"];
    _certifyNo = json["certifyNo"];
    _addTime = json["addTime"];
    _doctorID = json["doctorID"];
    _validDate = json["validDate"];
    _addUser = json["addUser"];
    _certifyCode = json["certifyCode"];
    _keyID = json["keyID"];
    _regDate = json["regDate"];
  }

  Map<String, dynamic> toJson() {
    var map = <String, dynamic>{};
    map["photoFileID"] = _photoFileID;
    map["photoUrl"] = _photoUrl;
    map["modifyUser"] = _modifyUser;
    map["certifyName"] = _certifyName;
    map["certifyNo"] = _certifyNo;
    map["addTime"] = _addTime;
    map["doctorID"] = _doctorID;
    map["validDate"] = _validDate;
    map["addUser"] = _addUser;
    map["certifyCode"] = _certifyCode;
    map["keyID"] = _keyID;
    map["regDate"] = _regDate;
    return map;
  }

}